package org.jeecgframework.web.system.pojo.base;

import javax.persistence.*;

/**
 * Created by 钟杰宇 on 2015/6/24.
 */
@Entity
@Table(name = "t_s_delivery", schema = "")
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
public class TSDelivery implements java.io.Serializable {
    private String id;
    private String title;//配送方式名称
    private Integer enable;//是否启用
    private String logoPath;//logo路径
    private String supportSys;//支持系统：系统代码用逗号分隔，如1001,1002,1003
    public TSDelivery() {
    }

    public TSDelivery(String id, String title, Integer enable, String logoPath, String supportSys) {
        this.id = id;
        this.title = title;
        this.enable = enable;
        this.logoPath = logoPath;
        this.supportSys = supportSys;
    }

    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    @Basic
    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    @Basic
    @Column(name = "enable")
    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }
    @Basic
    @Column(name = "logo_path")
    public String getLogoPath() {
        return logoPath;
    }

    public void setLogoPath(String logoPath) {
        this.logoPath = logoPath;
    }
    @Basic
    @Column(name = "support_sys")
    public String getSupportSys() {
        return supportSys;
    }

    public void setSupportSys(String supportSys) {
        this.supportSys = supportSys;
    }
}
